package com.tql.hualala.mapper;

import com.tql.hualala.bean.FoodBean;
import com.tql.hualala.bean.UnitsBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HllShopMenuMapper {
    void truncateHllShopMenu(@Param("groupId") Long groupId,@Param("shopId")  Long shopId);

    int insertHllShopFood(FoodBean food);

    int insertHllFoodUnits(List<UnitsBean> units);

    int deleteFoodUnit(String[] foodIdArray);

    void deleteFoodByFoodCode(FoodBean foodBean);
}
